package com.seal.dao;

import java.util.List;

import com.seal.comm.utils.Page;
import com.seal.dto.MessageDto;
import com.seal.model.Message;

public interface IMessageDao {

	void addMessage(Message ca) throws Exception;

	void updateMessage(Message ca) throws Exception;

	void deleteMessage(Message ca) throws Exception;
	
	Message getMessageById(Long id) throws Exception;

	List<Message> getAllMessage(MessageDto messageDto, Page page)
			throws Exception;
}
